<?

if(!defined('DIR_VSMAIL'))
	define('DIR_VSMAIL', dirname(__FILE__).DIR_SEP);

require_once(DIR_VSMAIL."vsmailaccount.php");
require_once(DIR_VSMAIL."vsmailheader.php");

class VsMailBox {

	private $_account = NULL;

	function __construct(&$pager, $account=NULL) {
		if($account) {
			$this->_account = $account;
		}
		else {
			$this->_account = VsMailAccount::Instance();
		}
	}
	//=====================================================================

	function mailHeaders() {
		return VsMailHeader::makeHeaders($this->_account);
	}
	//====================================================================

};

?>
